package com.dao;

import com.dto.BookCollectionDTO;
import com.po.BookCollectionPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author linyukun
 * @date 2022/8/8 18:39
 */
@Mapper
@Repository
public interface BookCollectionDao {
    Integer addBookCollection(@Param("dto") BookCollectionDTO dto);

    List<BookCollectionPO> getBookCollectionList(@Param("dto")BookCollectionDTO dto);

    Integer delBookCollectionById(@Param("dto")BookCollectionDTO dto);
}
